<template>
  <div class="person"></div>
</template>

<script lang="ts" setup name="Person">
import { type PersonInter, type Persons } from "@/types";
let person: PersonInter = { id: "0001", name: "tom", age: 16 };
let personList: Array<PersonInter> = [
  { id: "0001", name: "tom", age: 16 },
  { id: "0002", name: "jack", age: 20 },
  { id: "0003", name: "rose", age: 22 },
];
let personList2: Persons = [
  { id: "0001", name: "tom", age: 16 },
  { id: "0002", name: "jack", age: 20 },
  { id: "0003", name: "rose", age: 22 },
];
</script>
<style scoped>
.person {
  background-color: skyblue;
  box-shadow: 0 0 10px;
  border-radius: 10px;
  padding: 20px;
}
button {
  margin: 0 5px;
}
</style>
